package com.xxdh.service;

import com.xxdh.domain.dto.LoginUserDto;
import com.xxdh.domain.po.User;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletResponse;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zwg
 * @since 2024-10-15
 */
public interface IUserService extends IService<User> {

    void finalLogin(String userId, HttpServletResponse response);

    String register(LoginUserDto loginUser, HttpServletResponse response);

    User getUserById(Long studentId);

    void updatePassword(Long userId, String password);

    void updateUser(Long userId, User user);
}
